package com.thoughtful.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.thoughtful.spring.CustomScannerRegister;
import org.springframework.context.annotation.Import;

/**
 * @author yushun
 * @createTime 2022/10/19 - 17:29
 **/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Import(CustomScannerRegister.class)
@Target({ElementType.TYPE, ElementType.METHOD})
public @interface RpcScan {

    String[] basePackage();

}
